<?php if ($page): ?>
  <div class="node">
    <span class="submitted"><?php print $submitted?></span>
    <div class="content"><?php print $content?></div>
  </div>
<?php else: ?>
    <?php print l($title, 'node/' . $node->nid) ?>
<?php endif;?>
